var locomotive = require('locomotive');
var bootable = require('bootable');


var app = new locomotive.Application();
app.phase(locomotive.boot.controllers(__dirname + '/app/controllers'));
app.phase(locomotive.boot.views());


app.phase(bootable.initializers(__dirname + '/config/init'));
app.phase(locomotive.boot.routes(__dirname + '/config/routes'));
//app.phase(locomotive.boot.routes(__dirname + 'config/routes'));
app.phase(locomotive.boot.httpServer(1000, '0.0.0.0'));


app.boot(function(err) {

});
